import request from "./index";

// 发布评论
export const addCommentApi = (comment) => {
    return request.post("/comment/addComment", comment)
}

export const likeCommentApi = (commentId) => {
    return request.post("/comment/likeComment",null, {
        params: {
            commentId: commentId
        }
    })
}